package com._520it.crm.mapper;

import com._520it.crm.domain.CarModel;
import java.util.List;

public interface CarModelMapper {

    int insert(CarModel record);

    CarModel selectByPrimaryKey(Long id);

    List<CarModel> selectAll();

    int updateByPrimaryKey(CarModel record);

    List<CarModel> selectChildByParentId(Long parentId);

    List<CarModel> selectParent();

    CarModel selectByCarModelName(String carModelName);
}